//
//  XS_CourseItemModel.swift
//  XueDao
//
//  Created by Mac on 2020/12/21.
//

import UIKit

class XS_CourseItemModel: XS_BaseModel {
//    "id": 1,
//                   "curriculumName": "会计1",
//                   "price": 1.00,
//                   "discountPrice": 2.00,
//                   "purchaseNum": 12,
//                   "curriculumImgUrl": "https://img10.360buyimg.com/babel/s1580x740_jfs/t1/127434/18/20198/176464/5fc06bacEd43075bd/8947cb48e8060269.jpg!cc_1580x740.webp",
//                   "isBuy": "yes"
    
    var id = ""
    var curriculumName = ""
    var price = ""
    var discountPrice = ""
    var purchaseNum = ""
    var curriculumImgUrl = ""
    var curriculumTime = ""
    var isBuy = ""
    var isLastLearn = ""
    var planDay = ""
    var lastDay = ""
    var learnedDay = ""
    var percentage = ""
    var curriculumNum = ""
    var curriculumType = ""//课程类型 online 线上课 offline 线下课 live 直播课
    var vipPrice = ""
    var vipIsFree = ""
    var isFree = ""
    var hourName = ""
    var isCurriculumSeries = ""
}

class XS_CourseItemM: XS_BaseModel {
    var records: [XS_CourseItemModel] = []
    var total = 0
    var size = 10 // 默认页数
    var current = 0
    var searchCount = false
    var pages = 0
}
